<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0" />
  <title>Welcome to the INDI Newsletter!</title>
  <style>
    /* @media screen and (min-width: 375px) {
html {
  font-size: calc(100% + 2 * (100vw - 375px) / 39);
  font-size: calc(16px + 2 * (100vw - 375px) / 39);
}
}
@media screen and (min-width: 414px) {
html {
  font-size: calc(112.5% + 4 * (100vw - 414px) / 586);
  font-size: calc(18px + 4 * (100vw - 414px) / 586);
}
}
@media screen and (min-width: 600px) {
html {
  font-size: calc(125% + 4 * (100vw - 600px) / 400);
  font-size: calc(20px + 4 * (100vw - 600px) / 400);
}
}
@media screen and (min-width: 1000px) {
html {
  font-size: calc(137.5% + 6 * (100vw - 1000px) / 1000);
  font-size: calc(22px + 6 * (100vw - 1000px) / 1000);
}
} */
    html {
      font-size: max(15px,1.04vw);
      line-height: max(20px,1.45vw);
    }
    h1,h2,h3 {
      margin: 0;
      font-weight: 500;
    }
    body,
    a {
      color: #fff;
      text-align: center;
      margin: 0;
    }
    a {
      text-decoration: underline;
    }
    table {
      width: 100%;
      border-collapse: collapse;
    }
    th {
      background-color: rgba(255, 255, 255, 0.84);
      color: #cf8152;
    }
    th,td {
      border: 2px solid #fff;
      font-weight: 500;
    }
    td {
      padding: max(10px,1.56vw) 0;
    }
    .mb-48 {
      margin-bottom: 48px;
    }
    .mb-22 {
      margin-bottom: 22px;
    }
    .mb-50 {
      margin-bottom: 50px;
    }
    .fz-14 {
      font-size: max(12px,0.73vw);
    }
    .fz-18 {
      font-size: max(15px,0.93vw);
    }
    .fz-24 {
      font-size: max(18px,1.25vw);
    }
    .fz-28 {
      font-size: max(22px, 1.6vw);
    }
    .flex-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
  </style>
</head>

<body>
<div style="background-color: #cf8152;">
  <div style="max-width: 1200px; padding: 2.5em 1em; margin: 0 auto;">
    <h1 class="fz-28 mb-48" style="text-align: center; text-decoration: underline;color: #fff;">
      Welcome to the INDI Family!
    </h1>
    <div class="mb-48">
      <div  style="color: #fff;">
        Congratulations on reserving your Standard INDI One, and becoming a part of the INDI Family.
      </div>
      <div>
        Here is your confirmation number <span>${orderId}</span>
      </div>
    </div>
    <div>
      <h2 class="fz-24 mb-22">Order Summary</h2>
      <table class="mb-50">
        <tr isList="true" listName="list_2">
          <th style="width: 33%">INDI One</th>
          <th style="width: 33%">Price</th>
          <th style="width: 33%">Deposit paid</th>
        </tr>
        <tr isList="true" listName="list_1">
          <td style="width: 33%">
            <div class="flex-content">
              <span>${secondTitle}</span>
              <span>${orderId}</span>
            </div>
          </td>
          <td style="width: 33%"><span>${price}</span></td>
          <td style="width: 33%"><span>${deposit}</span></td>
        </tr>
      </table>
    </div>
    <div class="fz-18 mb-50">
      You will receive a follow up email regarding next steps in the coming weeks.
    </div>
    <div>
      <h3 class="fz-24 mb-50" style="text-align: center;color: #fff;">#You Do You. We Do Cars.</h3>
    </div>
    <div class="mb-22">
      INDI One <a>Order Agreement</a>, <a>Term of Use</a>, and <a>Privacy Notice</a>
    </div>
    <div class="fz-14">
      <div>*Exclusive reservation gift design subject to change. Pictures show pre-production level vehicle.</div>
      <div>**The INDI One is currently only available in the U.S. and Canada. Exclusive reservation gift is non-exchangeable.</div>
    </div>
  </div>
</div>
</body>
</html>
